package org.ypx.center.service;


import org.ypx.db.entity.User;
import org.ypx.db.entity.UserInfo;
import org.ypx.db.entity.UserRole;
import org.ypx.shared.common.Result;
import org.ypx.shared.service.vo.UserInfoVO;

import java.util.List;

/**
 * Created by 听闻に on 2017/3/17.
 */

public interface IUserInfoService extends BaseService<UserInfo> {

    Result<List<UserInfoVO>> selectUserInfo(UserInfo userInfo, User user, UserRole userRole);

    Result<List<UserInfo>> saveUserInfo(UserInfo userInfo, User user, UserRole userRole);
}
